﻿////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
// <copyright>Copyright 2008-2011 Andreas Huber Doenni</copyright>
// Distributed under the Microsoft Public License (Ms-PL).
// See accompanying file License.txt or copy at http://mews.codeplex.com/license.
////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////

namespace Mews.Net.Nntp.Cache
{
    /// <summary>Provides constants for the names used in the OutboundArticle table.</summary>
    internal static class OutboundArticleNames
    {
        internal const string Table = "OutboundArticle";

        internal const string IdColumn = "Id";
        internal const string HostIdColumn = "HostId";
        internal const string DateUtcColumn = "DateUtc";
        internal const string SubjectColumn = "Subject";
        internal const string SendStatusColumn = "SendStatus";
        internal const string IsDeletedColumn = "IsDeleted";

        internal static readonly string[] InsertableColumns =
        {
            HostIdColumn,
            SendStatusColumn
        };

        internal const string IsDeletedSendStatusDateUtcIndex = "IsDeletedSendStatusDateUtc";
        internal const string HostIdIsDeletedSendStatusDateUtcIndex = "HostIdIsDeletedSendStatusDateUtc";
    }
}
